VGNode Class
Description:
The class for creating VGNode instances.
__call
Type: Metamethod.
Description:
The constructor function for creating a VGNode instance.
Signature:
metamethod __call: function(
self: VGNodeClass,
width: number,
height: number,
scale?: number --[[1.0]],
edgeAA?: integer --[[1]]
): VGNode
Parameters:
Parameter | Type | Description |
---|---|---|
width | number | The width of the node's frame buffer texture. |
height | number | The height of the node's frame buffer texture. |
scale | number | The scale of the node. Default is 1.0. |
edgeAA | integer | The edge anti-aliasing factor. Default is 1. |